<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>尺寸  溢出  与单位</title>
		<style>
			/* div{
				width:100%;
				height:200px;
				background-color: blue;
			} */
			/* overflow溢出属性 */
			div{
                width:100%;
				height:200px;
				border: 1px solid red;
				/* background: blue; */
				/* overflow: auto; */
				/* 溢出：移仓hidden
				 溢出加滚动条scroll
				 自动加滚动条auto*/
				 overflow-x: scroll;
				 overflow-y: hidden;
			}
			p{
				width:800px;
			}
		</style>
	</head>
	<body>
		<!-- div理解为水杯 -->
		<div>
			<!-- p：理解为水杯 -->
			<p>
				<img src="img\p_small_001.jpg" alt="" />
				<img src="img\p_small_002.jpg" alt="" />
				<img src="img\p_small_003.jpg" alt="" />
				<img src="img\p_small_004.jpg" alt="" />
				<img src="img\p_small_005.jpg" alt="" />
				<img src="img\p_small_006.jpg" alt="" />
				<img src="img\p_small_007.jpg" alt="" />
			</p>
		</div>
	</body>
</html>